/*  1:   */ package nl.siegmann.epublib.search;
/*  2:   */ 
/*  3:   */ import java.util.ArrayList;
/*  4:   */ import java.util.List;
/*  5:   */ import nl.siegmann.epublib.domain.Book;
/*  6:   */ 
/*  7:   */ public class SearchResults
/*  8:   */ {
/*  9:   */   private String searchTerm;
/* 10:   */   private Book book;
/* 11:   */   
/* 12:   */   public String getSearchTerm()
/* 13:   */   {
/* 14:11 */     return this.searchTerm;
/* 15:   */   }
/* 16:   */   
/* 17:   */   public void setSearchTerm(String searchTerm)
/* 18:   */   {
/* 19:14 */     this.searchTerm = searchTerm;
/* 20:   */   }
/* 21:   */   
/* 22:   */   public Book getBook()
/* 23:   */   {
/* 24:17 */     return this.book;
/* 25:   */   }
/* 26:   */   
/* 27:   */   public void setBook(Book book)
/* 28:   */   {
/* 29:20 */     this.book = book;
/* 30:   */   }
/* 31:   */   
/* 32:   */   public List<SearchResult> getHits()
/* 33:   */   {
/* 34:23 */     return this.hits;
/* 35:   */   }
/* 36:   */   
/* 37:   */   public void setHits(List<SearchResult> hits)
/* 38:   */   {
/* 39:26 */     this.hits = hits;
/* 40:   */   }
/* 41:   */   
/* 42:29 */   private List<SearchResult> hits = new ArrayList();
/* 43:   */   
/* 44:   */   public boolean isEmpty()
/* 45:   */   {
/* 46:31 */     return this.hits.isEmpty();
/* 47:   */   }
/* 48:   */   
/* 49:   */   public int size()
/* 50:   */   {
/* 51:34 */     return this.hits.size();
/* 52:   */   }
/* 53:   */   
/* 54:   */   public void addAll(List<SearchResult> searchResults)
/* 55:   */   {
/* 56:37 */     this.hits.addAll(searchResults);
/* 57:   */   }
/* 58:   */ }


/* Location:           C:\Users\David\workspace\CosaRaraPorqueSi\main\epublib-tools-3.1.jar
 * Qualified Name:     nl.siegmann.epublib.search.SearchResults
 * JD-Core Version:    0.7.0.1
 */